
let userinfo;
if (localStorage.getItem("userinfo")){
    userinfo = JSON.parse(localStorage.getItem("userinfo"));
}else{
    userinfo = {}
}


export default {
    collapse: false,   // 侧边栏是否折叠
    userinfo: userinfo    // 用户信息
}